/**
 * jims
 */
package com.jims.master.modules.physical.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.physical.dao.TResultOfficeDao;
import com.jims.master.modules.physical.entity.TResultOffice;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 体检科室Service
 * @author zp
 * @version 2017-06-21
 */
@Service
@Transactional(readOnly = true)
public class TResultOfficeService extends CrudService<TResultOfficeDao, TResultOffice> {

	public TResultOffice get(String id) {
		return super.get(id);
	}
	
	public List<TResultOffice> findList(TResultOffice tResultOffice) {
		return super.findList(tResultOffice);
	}
	
	public Page<TResultOffice> findPage(Page<TResultOffice> page, TResultOffice tResultOffice) {
		return super.findPage(page, tResultOffice);
	}
	
	@Transactional(readOnly = false)
	public int save(TResultOffice tResultOffice) {
		return super.save(tResultOffice);
	}
	
	@Transactional(readOnly = false)
	public int delete(TResultOffice tResultOffice) {
		return super.delete(tResultOffice);
	}
	
}